package vn.ivs.taxiapp.fragments;

import vn.ivs.taxiapp.R;
import vn.ivs.taxiapp.application.BaseApplication;
import vn.ivs.taxiapp.models.Bookmark;
import vn.ivs.taxiapp.models.TaxiInfo;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.TextView;
import android.widget.Toast;

public class S007Fragment extends Fragment {
	private TextView mTvDesciption;
	private TextView tvHeaderTitle;

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
	}

	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		View v = inflater.inflate(R.layout.fragment_s007, container, false);

		mTvDesciption = (TextView) v.findViewById(R.id.s007_textview);
		// ini
		Bookmark info = BaseApplication.mCurrentBookmark;
		mTvDesciption.setText(info.getDescription());

		tvHeaderTitle = (TextView) getActivity().findViewById(
				R.id.tvHeaderTitle);
		tvHeaderTitle.setText(info.getName());

		return v;
	}

}
